<!--ISI MULAI-->
<div class="beftabel">
    <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                <!----->
                <table width="400" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="namaform">
                            <div class="defpicx">
                                <div class="namaorang-u "><?php echo $user['NAMA'] ?></div>
                                <div class="namaorang2 ">Biodata dan Riwayat Pelatihan</div>
                            </div>
                            <?php 
                                if($user['FOTO']==''){
                                    $user['FOTO']=base_url().'/images/defpic.gif';
                                }
                            ?>
                            <div id="defpic"><img src="<?php echo $user['FOTO'] ?>" /></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="bordertebal">
                            <!----->
                            <table width="400" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td colspan="2" class="namaorangX">Biodata</td>
                                </tr>
                                <tr>
                                    <td width="129" class="bio">Nama Lengkap</td>
                                    <td class="bio2"><?php echo $user['NAMA'] ?></td>
                                </tr>
                                <tr>
                                    <td class="bio">No Telepon</td>
                                    <td class="bio2">
                                        <?php 
                                            if($user['NO_TELP']=='') {
                                                $user['NO_TELP']=' - ';
                                            }
                                            echo $user['NO_TELP'];
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bio">Alamat Tinggal</td>
                                    <td class="bio2">
                                        <?php 
                                            if($user['ALAMAT']=='') {
                                                $user['ALAMAT']=' - ';
                                            }
                                            echo $user['ALAMAT'];
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bio">Email</td>
                                    <td class="bio2">
                                        <?php 
                                            if($user['EMAIL']=='') {
                                                $user['EMAIL']=' - ';
                                            }
                                            echo $user['EMAIL'];
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bio">No CIC Card</td>
                                    <td class="bio2"><?php echo $peserta['NO_CIC_CARD'] ?></td>
                                </tr>
                                <tr>
                                    <td class="bio">Jenis Kelamin</td>
                                    <td class="bio2">
                                        <?php 
                                            if($peserta['JENIS_KELAMIN']=='') {
                                                $peserta['JENIS_KELAMIN']=' - ';
                                            }
                                            echo $peserta['JENIS_KELAMIN'];
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bio">Tempat Lahir</td>
                                    <td class="bio2">
                                        <?php 
                                            if($peserta['TEMPAT_LAHIR']=='') {
                                                $peserta['TEMPAT_LAHIR']=' - ';
                                            }
                                            echo $peserta['TEMPAT_LAHIR'];
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bio">Tanggal Lahir</td>
                                    <td class="bio2">
                                        <?php 
                                            if($peserta['TANGGAL_LAHIR']=='0000-00-00'||$peserta['TANGGAL_LAHIR']=='') {
                                                $peserta['TANGGAL_LAHIR']=' - ';
                                            }else{
                                                $peserta['TANGGAL_LAHIR']=$this->date_func->date_konversion_format4($peserta['TANGGAL_LAHIR']);
                                            }
                                            echo $peserta['TANGGAL_LAHIR'];
//                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bio">Pekerjaan</td>
                                    <td class="bio2">
                                        <?php 
                                            if($peserta['PEKERJAAN']=='') {
                                                $peserta['PEKERJAAN']=' - ';
                                            }
                                            echo $peserta['PEKERJAAN'];
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bio">Asal Institusi</td>
                                    <td class="bio2">
                                        <?php 
                                            if($peserta['ASAL_INSTANSI']=='') {
                                                $peserta['ASAL_INSTANSI']=' - ';
                                            }
                                            echo $peserta['ASAL_INSTANSI'];
                                        ?>
                                    </td>
                                </tr>
                            </table>
                            <!----->
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="bordertebal">
                            <!----->
                            <table width="400" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td colspan="2" class="namaorangX">Riwayat Pelatihan</td>
                                </tr>
                                <?php foreach($history_kelas as $k) {?>
                                <tr>
                                    <td class="bio"><?php echo $term[$k['ID_TERM']]?></td>
                                    <td class="bio2"><?php echo $k['KODE_PELATIHAN'].'-'.$k['ANGKATAN'].' —'.$k['NAMA_PELATIHAN'] ?></td>
                                </tr>
                                <?php }?>

                            </table>
                            <!----->
                        </td>
                    </tr>
                </table>
                <!----->
            </td>
            <td valign="top" class="jarak">&nbsp;</td>
            <td valign="top" class="tempatbutton">
                <input onClick="window.history=-1" name="button" type="submit" class="save" id="button" value="Back" />
            </td>
        </tr>
    </table>
</div>
<!-------------------------------------------->
</div>
</td>
<td class="b6"></td>
</tr>
<tr>
    <td class="b4"></td>
    <td class="b5">    <div class="footer2">Copyright &copy;2011 CIC Team | Credits</div></td>
    <td class="b6"></td>
</tr>
<tr>
    <td id="b7"></td>
    <td id="b8"></td>
    <td id="b9"></td>
</tr>
</table>